package com.tc.minio;

import io.minio.MinioClient;

/**
 * @Auther: tianchao
 * @Date: 2021/8/18 21:45
 * @Description:
 */
public class MinioFactory {
    public static MinioClient getMinioClient(){
        return
                MinioClient.builder()
                        .endpoint("http:192.168.10.180:9000")
                        .credentials("docker123456", "docker123456")
                        .build();

    }
}
